from flask import Blueprint, render_template, abort
from jinja2 import TemplateNotFound

app_root = Blueprint('app_root', __name__, template_folder='templates', static_folder='static')

@app_root.route('/')
def index():
    try:
        return render_template('root/index.html')
    except TemplateNotFound:
        abort(404)
